//
//  NSDictionary+ToJson.h
//  liangyi
//
//  Created by 张水 on 16/12/27.
//  Copyright © 2016年 yswh. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (ToJson)

+(NSString *)dictionaryToJson:(NSDictionary *)dic;

+(NSString *)distanceTimeWithBeforeTime:(double)beTime;

+(NSString *)getTime:(NSString *)timeSource;

+ (NSString *)updateTimeForRow:(NSString *)createTimeString;

+ (NSString *)timeFromTimestamp:(NSInteger)timestamp;

+(NSString *)timeWithTimeIntervalString:(NSString *)timeString;

@end
